﻿using System;
using System.ComponentModel.DataAnnotations;

namespace WorkFlowCore.Host.ViewModels.FormDesigns
{
    public class GetAllWorkflowsWithVersionOutput
    {
        /// <summary>
        /// 流程设计标识
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 流程编号
        /// </summary>
        [Required]
        [StringLength(50)]
        public string WorkflowNo { get; set; }
        /// <summary>
        /// 流程名称
        /// </summary>
        [Required]
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 激活版本
        /// </summary>
        public int ActiveVersion { get; set; }
        /// <summary>
        /// 流程类型
        /// </summary>
        [MaxLength(50)]
        public string WorkflowType { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
    }
}
